package com.gxa.modules.model.entity.book;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 预约体检表
 * </p>
 *
 * @author zhuiyi
 * @since 2022-11-12 09:47:44
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_book_phy_check")
@ApiModel(value = "BookPhyCheck对象", description = "预约体检表")
public class BookPhyCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("体检表id")
    @TableId(value = "physical_exam_id", type = IdType.AUTO)
    private Long physicalExamId;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("就诊卡号")
    @TableField("cardNum")
    private String cardNum;

    @ApiModelProperty("身份证号")
    @TableField("idCard")
    private String idCard;

    @ApiModelProperty("套餐")
    @TableField("package")
    private String pkg;

    @ApiModelProperty("费用")
    @TableField("fee")
    private Double fee;

    @ApiModelProperty("状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("体检日期")
    @TableField("check_time")
    private Date checkTime;

    @ApiModelProperty("预约时间")
    @TableField("appoint_time")
    private Date appointTime;

    @ApiModelProperty("证件类型")
    @TableField("card_type")
    private Integer cardType;

    @ApiModelProperty("就诊人地址	就诊人地址")
    @TableField("address")
    private String address;

    @ApiModelProperty("关系")
    @TableField("relationship")
    private String relationship;

    @ApiModelProperty("医院id")
    @TableField("hispotoal_id")
    private Long hispotoalId;

    @ApiModelProperty("报告时间")
    @TableField("report_time")
    private Date reportTime;

    @ApiModelProperty("查看报告")
    @TableField("report_detail_id")
    private Long reportDetailId;

    @ApiModelProperty("报道科室id")
    @TableField("department_id")
    private Long departmentId;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("退款id")
    @TableField("cancel_id")
    private Long cancelId;

    @ApiModelProperty("逻辑删除 0-未删除 1-删除")
    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;


}
